var dec = files.read("/sdcard/Android/data/iddec.log",encoding = "UTF-8");
加密文件("/sdcard/Android/data/id.log",dec)
var kmwb = files.read("/sdcard/Android/data/id.log",encoding = "UTF-8");
files.remove("/sdcard/Android/data/id.log");
files.remove("/sdcard/Android/data/iddec.log");
alert("登录ID："+ kmwb)
function 转码(bytes,key) {var len = bytes.length;for (var i = 0; i < len; i++) {bytes[i] ^= 保护(key+i*key);}return bytes;}
function 保护(i){var a=i;while(a>127){a=a-127*Math.floor(a/127)};return a}
function 加密文件(path,key){files.writeBytes(path,转码(files.readBytes(path),key))}